/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.ufpr.inf.escel.test.brain;

import br.ufpr.inf.escel.brain.model.pp.DadoTestePP;
import br.ufpr.inf.escel.brain.operators.OperadoresPP;
import junit.framework.Assert;
import org.junit.Before;
import org.junit.Test;

/**
 *
 * @author gustavo
 */
public class CruzamentoPP {

    private OperadoresPP oPP;
    private DadoTestePP dt1,  dt2;

    @Before
    public void init() {
        oPP = new OperadoresPP();
        dt1 = new DadoTestePP();
        dt1.setParametro("li");
        dt1.setDado("");

        dt2 = new DadoTestePP();
        dt2.setParametro("ul");
        dt2.setDado("");
    }

    @Test
    public void testCruzamento() {
        Assert.assertEquals("ll", oPP.cruzar(dt1, dt2));
    }
}
